package com.ruoyi.counter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工器具副柜对象 countersub
 *
 * @author 仝帅
 * @date 2021-07-27
 */
public class Countersub extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID锛岄€掑 */
    private Long id;

    /** 父级柜ID */
    @Excel(name = "父级柜ID")
    private Long counterid;

    /** 鍦板潃 */
    @Excel(name = "鍦板潃")
    private String addr;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String ip;

    /** MAC地址 */
    @Excel(name = "MAC地址")
    private String mac;


    public String getCountersubname() {
        return countersubname;
    }

    public void setCountersubname(String countersubname) {
        this.countersubname = countersubname;
    }

    /** MAC地址 */
    @Excel(name = "副柜名称")
    private String countersubname;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCounterid(Long counterid)
    {
        this.counterid = counterid;
    }

    public Long getCounterid()
    {
        return counterid;
    }
    public void setAddr(String addr)
    {
        this.addr = addr;
    }

    public String getAddr()
    {
        return addr;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public String getIp()
    {
        return ip;
    }
    public void setMac(String mac)
    {
        this.mac = mac;
    }

    public String getMac()
    {
        return mac;
    }

    @Override
    public String toString() {
        return "Countersub{" +
                "id=" + id +
                ", counterid=" + counterid +
                ", addr='" + addr + '\'' +
                ", type=" + type +
                ", ip='" + ip + '\'' +
                ", mac='" + mac + '\'' +
                ", countersubname='" + countersubname + '\'' +
                '}';
    }
}
